package com.googlecode.imanager.client.util;

/**
 * @author wellsantos@wellsantos.com
 * @since 0.01
 */
public interface HasTextSelection extends HasText {

    int getCaretPosition();
    
    void setCaretPosition(int caretPosition);
    
    int getSelectionStart();

    void setSelectionStart(int selectionStart);

    int getSelectionEnd();

    void setSelectionEnd(int selectionLength);

}
